package com.agent.demo;

/**
 * -javaagent:D:/IT_ALAN/gitee/javaProject/agentDemo/agentJar/target/my-agent.jar
 * @author: Alan
 * @date: 2021/4/25 22:50
 */
public class TimeTest {

    public static void sayHello() {
        try {
            Thread.sleep(2000);
            System.out.println("hello world!!");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    public static void sayHello2(String hello) {
        try {
            Thread.sleep(1000);
            System.out.println(hello);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
